<template>
  <div class="outer">
    <Header />
    <!-- 一级路由显示 -->
    <router-view />
    <Footer v-show="!$route.meta.isHiddenFooter" />
  </div>
</template>

<script>
import Header from "./components/Header.vue";
import Footer from './components/Footer.vue'
export default {
  name: "App",
  components: {
    Header,
    Footer,
  },
  mounted(){
      this.$store.dispatch('home/getCategoryListData')
  }
};
</script>

<style lang="less" scoped>

</style>